added SSCLI 1.0
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2008 / CSASPNETMVCDataView / Controllers / HomeController.cs
blob0eab9ce8d11f498d9de334566d8f3a5e4f57682c
1 /**************************** Module Header ******************************\
2 Module Name: <HomeController.cs>
3 Project: <CSASPNETMVCDataView>
4 Copyright (c) Microsoft Corporation.
6 The file is the controller of Home module.
8 This source is subject to the Microsoft Public License.
9 See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
10 All other rights reserved.
12 THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
13 EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
14 WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
15 \***************************************************************************/
19 using System;
20 using System.Collections.Generic;
21 using System.Linq;
22 using System.Web;
23 using System.Web.Mvc;
25 namespace CSASPNETMVCDataView.Controllers
27 [HandleError]
28 public class HomeController : Controller
30 public ActionResult Index()
32 ViewData["Message"] = "Welcome to ASP.NET MVC!";
34 return View();
37 public ActionResult About()
39 return View();